{strip} {if !$load_more}
{$this->lang['Marks']} {if $count_new_grades > 0} ({$count_new_grades} {$this->lang['new']}) {/if}
{/if} {foreach $q as $res} {assign var=clubid value=0} {if $res.community == 'yes'} {assign var=clubid value=$this->getCommunityId($res.itemid,'post')} {assign var=clubdetails value=$this->getCommunityDetails($clubid)} {/if} {$this->upGrades($res.id)}
{if $res.categ !== 'post'}
{/if} {if $res.categ === 'post'}
{/if}
{$res.fullname}  {if $res.type === 'like' && $res.categ === 'photo'}{$this->lang['gradesLikedThePhoto']}{/if} {if $res.type === 'stars'}{$this->lang['ratedYourPhoto']}{/if} {if $res.type === 'like' && $res.categ === 'post' && $res.community === 'yes'} {$this->lang['gradesLikedStatusInClub']} {$clubdetails.name} {else if $res.type === 'like' && $res.categ === 'post'}{$this->lang['gradesLikedStatus']}{/if}
{if $res.type === 'like' && $res.categ === 'post'} {assign var=post_val value=$this->gradesBuildPost($res.status)} {if $post_val != ''} {else} {/if} {/if} {if $res.type === 'like'} {/if} {if $res.type === 'stars'} {/if}
{foreachelse} {if !$load_more} {else} {/if} {/foreach} {if !$load_more}
{if count($q)}
{/if}
{/if} {/strip}